package service.book;

import entity.Borrow;

/**
 * @Author: Lin Hongwei
 * @LastEditors: Lin Hongwei
 * @email: 1365755396@qq.com
 * @CSDN: https://blog.csdn.net/weixin_45429409
 * @Description: 
 *
 */
public interface BorrowServer {
	//通过bookid和userid查借阅表
	//统计userid中借阅数量
	
	/**
	 * 通过bookid和userid查借阅表
	 * bookid - 查书信息
	 * userid - 查用户信息
	 * 统计userid中借阅数量
	 * @return
	 */
	public Borrow getBorrowInfo(Borrow borrow);
	
	public boolean addBorrow(Borrow borrow);//添加借阅
	public boolean upBorrow(Borrow borrow);//更新

}
